package Model;

import java.io.Serializable;

/**
 * 用户类
 * 
 */
public class user implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int userid;
	private String username;
	private String password;
	private String email;
	private String sex;
	private String tel;
	private String power;
	public user(){
		
	}
	public user(int userid, String username, String password, String email, String sex, String tel, String power) {
		super();
		this.userid = userid;
		this.username = username;
		this.password = password;
		this.email = email;
		this.sex = sex;
		this.tel = tel;
		this.power = power;
	}
	public user(String username,String email,String sex,String tel){
		this.username = username;
		this.email = email;
		this.sex = sex;
		this.tel = tel;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getemail() {
		return email;
	}
	public void setemail(String email) {
		this.email = email;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getPower() {
		return power;
	}
	public void setPower(String power) {
		this.power = power;
	}

	
}
